@import "../../../utils/common.scss";
.riskContain {
  color: #999999;
  @include font-dpr($primary-size-xs);
  .subject {
    .tips {
      color: #ff5b05;
      font-size: 0.32rem;
      line-height: .48rem;
      margin-top: 0.4rem;
    }
    padding: 0.533333rem 0.4rem 0 0.4rem;
    color: $primary-fontColor;
    .title {
      @include font-dpr($primary-size-md);
      margin-bottom: 1.066667rem;
    }
    .topic {
      .item {
        margin-bottom: 0.666667rem;
      }
    }
    .subPageTip {
      position: relative;
      text-align: center;
      margin: 0.426667rem 0 1.066667rem 0;
      color: #999999;
      @include font-dpr($primary-size-md);
      .prePage {
        position: absolute;
        color: #2579d4;
      }
      span {
        color: $primary-fontColor;
      }
    }
  }
  .document {
    overflow: scroll;
    max-height: 100%;
    padding-bottom: 2.506667rem;
    background: #f5f5f5;
    .items {
      padding: 0.4rem;
      background: #fff;
      margin-top: 0.266667rem;
      .titleBg {
        @include font-dpr($primary-size-md);
        padding-left: 0.266667rem;
        color: #fff;
        width: 6.026667rem;
        height: 0.906667rem;
        line-height: 0.906667rem;
      }
      .titleBg1 {
        @include image("../../../assets/images/riskEvaluate/bg_background1");
      }
      .titleBg2 {
        width: 6.4rem;
        @include image("../../../assets/images/riskEvaluate/bg_background2");
      }
      .titleBg3 {
        width: 5.146667rem;
        @include image("../../../assets/images/riskEvaluate/bg_background3");
      }
      .notiTitle {
        font-size: 0.586667rem;
        color: $primary-fontColor;
      }
      .investor {
        margin-top: 0.533333rem;
        @include font-dpr($primary-size-md);
        color: $primary-fontColor;
        span {
          color: #f5a623;
        }
      }
      .workTitle {
        margin: 0.4rem 0 1.066667rem 0;
        padding: 0.266667rem;
        background: #f5f5f5;
      }
      .workItem {
        margin-bottom: 1.066667rem;
        .title {
          color: #000000;
          @include font-dpr($primary-size-md);
          margin-bottom: 0.4rem;
        }
        .switch {
          span {
            vertical-align: middle;
            margin-left: 0.4rem;
          }
        }
      }
      .confirmLgTitle {
        @include font-dpr($primary-size-lg);
        color: #000000;
      }
      .confirmContent {
        @include font-dpr($primary-size-md);
        color: $primary-fontColor;
        margin: 0.8rem 0 0.533333rem 0;
      }
      .confirmUser {
        margin: 0;
        .name {
          display: flex;
          justify-content: flex-end;
          span {
            color: #f5a623;
          }
        }
      }
      .dealTip {
        background: #f5f5f5;
        padding: 0.293333rem 0.346667rem;
        margin-top: 0.8rem;
      }
      .riskItem {
        margin-top: 0.533333rem;
        color: $primary-fontColor;
      }
      .mainTitle {
        color: $primary-fontColor;
        @include font-dpr($primary-size-md);
        line-height: 0.426667rem;
      }
      .matchTitle {
        color: $primary-fontColor;
        line-height: 0.373333rem;
        margin: 0.4rem 0 0.293333rem 0;
      }
      .toptip {
        margin-bottom: 0.4rem;
      }
      .levelResult {
        display: flex;
        margin-bottom: 0.586667rem;
        .intro {
          flex: 1;
          .title {
            color: $primary-fontColor;
            font-size: 0.64rem;
            margin-bottom: 0.666667rem;
          }
        }
        .graph {
          width: 3.573333rem;
          height: 3.573333rem;
          margin-left: 0.746667rem;
        }
      }
      .levelRank {
        border: 1px solid rgba(238, 238, 238, 1);
        padding: 0.4rem;
        .title {
          @include font-dpr($primary-size-md);
        }
        .rank {
          color: $primary-fontColor;
          line-height: 0.373333rem;
          margin: 0.4rem 0 0.293333rem 0;
        }
      }
    }
    .items:first-child {
      margin: 0;
    }
  }
  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    .myButton {
      flex: 1;
    }
    .myButton:last-child {
      flex: 2;
    }
  }
  :global {
    .am-button-primary {
      background: $primary-color;
      @include font-dpr($primary-size-md);
    }
    .am-button-primary.am-button-disabled {
      opacity: 1;
      background: #dcdcdc;
      border-color: #dcdcdc !important;
    }
    html:not([data-scale]) .am-button-primary::before {
      border-color: #dcdcdc;
    }
    .am-button {
      border-radius: unset;
      @include font-dpr($primary-size-md);
    }
    .am-list-item .am-list-line .am-list-content {
      color: #666666;
    }
    .am-list-content {
      @include font-dpr($primary-size-xs);
    }
    .am-list-item {
      background: #f5f5f5;
    }
    .am-checkbox.am-checkbox-checked .am-checkbox-inner {
      background: $primary-color;
      border-color: $primary-color;
    }
    // 重置checkbox
    .ant-checkbox-group-item {
      margin-bottom: 0.586667rem;
    }
    .ant-checkbox-wrapper {
      color: $primary-fontColor;
      width: 100%;
      > span:last-child {
        float: left;
        line-height: 0.533333rem;
        padding-left: unset;
        max-width: 90%;
      }
      .ant-checkbox {
        float: right;
        top: 0;
        transform: translateY(20%);
        .ant-checkbox-inner {
          border-radius: 50%;
        }
      }
    }
  }
}
:global {
  html:not([data-scale]) .am-button-primary::before {
    border-color: #dcdcdc;
  }
}
